package com.red.star.wechat.data.entity.vo;

import com.red.star.wechat.data.entity.BaseEntity;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Data
@Table(name = "t_advice")
public class Advice extends BaseEntity {


    private String content;

    private String mallCode;

    @Transient
    private String mallName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date adviceTime;

    private String details;

    private Integer valid;

    private Integer status;


}
